import {get } from "../utils/request"

// export const huoqugedan = () => get(`/playlist/catlist`)
// 获取歌单
export const playlistAPI = (params) =>
    get('/top/playlist', { params: params })

export const playlistid = (id) => get("/playlist/detail?id=" + id);
export const playlistxq = (id) => get("/playlist/track/all?id=" + id);
// 
export const playlistgeq = (id) => get("/song/url?id=" + id);
//获取个人信息
export const userDetailAPI = (uid)=>get(`/user/detail?uid=`+uid)
//修改个人信息
export const changeUserAPI = ( gender, birthday, nickname, province, city, signature)=>get(`/user/update?gender=${gender}&birthday=${birthday}&nickname=${nickname}&province=${province}&city=${city}&signature=${signature}`)